/**
 * 
 */
package sailing.filters;

import java.util.List;

import cjlite.utils.Lists;

/**
 * @author kevin
 * 
 */
public final class FilterFactory {

	private static FilterFactory instance;

	private List<Class<? extends Filter>> filterClassList = Lists.newArrayList();

	private FilterFactory() {
		this.initial();
	}

	private void initial() {
		filterClassList.add(KeyWordFilter.class);
		filterClassList.add(DurationFilter.class);
		filterClassList.add(SubjectFilter.class);
	}

	public static FilterFactory getInstance() {
		if (instance == null) {
			instance = new FilterFactory();
		}
		return instance;
	}


	public List<Class<? extends Filter>> getFilterClassList() {
		return filterClassList;
	}

}
